package com.boot.web.http;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description http响应信息包装
 * @date 2019/7/14 21:09
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class HttpModel<T> {

    /**
     * @description 业务状态码
     * @date 2020/2/9 16:35
     **/
    private Integer code;

    /**
     * @description 业务信息
     * @date 2020/2/9 16:35
     **/
    private String msg;

    /**
     * @description 返回数据
     * @date 2020/2/9 16:35
     **/
    private T data;
}
